
body {
    /*text-align:center;
    background-color: white;*/
    font-family: Verdana, Helvetica, sans-serif;
}

.loading{
    background-image:url('../image/loading.gif');
    width:32px;
    height:32px;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}
#divfather
{
    margin: 0 auto;
    width: 80%;
    min-height: 630px;
    background-color: #CCFF66;
    -moz-box-shadow: 5px 5px 20px #000;
    box-shadow: 1px 1px 10px #000;
    border-radius:10px;
    text-align: left;
}
ul{
    text-align: left;
}
.divfather
{
    margin: 0 auto;
    width: 80%;
    min-height: 630px;
    background-color: #CCFF66;
    -moz-box-shadow: 5px 5px 20px #000;
    box-shadow: 1px 1px 10px #000;
    border-radius:10px;
}  

#diwheader
{
    width: 100%;
    min-height: 200px;
    background-color: #D5F298;
    border-radius: 10px 10px 0 0;
}
#menucha
{
    margin-top: 1px;
    width: 100%;
    min-height: 40px;
    background-color: white;
    margin-bottom: 1px;

}
#divbodymain
{
    padding-top: 2px;
    width: 100%;
    min-height: 600px;
    background-color: #FFFFFF;
    border-radius: 0 0 10px 10px;
}
#menu {
    padding:0;
    margin:0;
}
#menu li {
    height:40px;
    list-style:none;
    padding-left:15px;
    padding-right:15px;
    display:block;
    float:left;
    line-height:40px;
    border-radius:50px;
    -moz-transition-duration:0.5s;
    -webkit-transition-duration:0.5s;
    transition-duration:0.5s;
}
#menu li:hover {
    opacity:0.7;
    padding-left:50px;
    padding-right:50px;
    text-align:center;

}
#menu li a {
    text-decoration:none;
}
#menu li ul {
    display:none;
    position:absolute;
}
#menu li:hover ul {
    display:block;
}
.dangnhap
{
    float: left;
    margin-left: 35px;
}
input[type="text"] 
{
    width: 200px;
    border: 1px solid #CCC;
}
input[type="PASSWORD"] 
{
    width: 200px;
    border: 1px solid #CCC;
}
input[type="submit"] :HOVER
{
}
.a-button
{
    text-decoration:none;
    width: 115px;
    height: 25px;
    background: #45ba45;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    color: white;
}

/** Format input*/
input[type="text"],input[type="password"],select{
    line-height: 32px;
    height: 32px;
    outline: none;
    color: #666;
    padding-left: 10px;
    padding-right:10px;
    /*border:2px solid #666;*/
    border:1px solid #DDD;
    font-size: 14px;
}
input[type="text"]:focus,input[type="password"]:focus,select:focus{
    border-color: #4a8bc2;
}

select{
    padding-top: 3px;
    padding-bottom: 3px;
    min-width: 150px;
}
/**-------------*/

/* Format message BLock*/
.message_area{
    height: 28px;
    display: inline;
    position:fixed;
    bottom:0px;
    right:10px;
    min-width: 200px;
    text-align: left;
}
.message_area>div{
    height:28px;
    width:250px;
    margin-left:10px;
    float: right;
    background-color:rgba(1,123,160,0.8);
    position:relative;
    /*border:1px solid #666;*/
    box-shadow: 0 0 5px #999 inset;
    -moz-box-shadow: 0 0 5px #999 inset;
    -webkit-box-shadow: 0 0 5px #999 inset;
}
.list_friend{
    max-height:400px;
}
.message_area>div>div{
    position:absolute;
    bottom:28px;
    left:0px;
    background-color:#FFF;
    display:block;
    width:100%;
    display: none;
}
.message_area .message_item_content{
    /*border:1px solid #666;
    margin-left: -1px;*/
    box-shadow: 0 0 100px #CCC inset;
    -moz-box-shadow: 0 0 100px #CCC inset;
    -webkit-box-shadow: 0 0 100px #CCC inset;
}
.message_title{
    height:28px;
    /*background-color:rgba(1,123,160,0.8);*/
    margin:0px;
    padding:0px;
    line-height:28px;
    font-size:12px;
    color:#FFF;
    padding-left: 20px;
    position:relative;
}
.message_texbox{
    height:28px;
    display: none;
    position:relative;
    top:0px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border:1px solid #DDD;
}
.message_texbox input[type="text"]{
    height:28px;
    width:100%;
    height:28px;
    line-height:28px;
    font-size:13px;
    color:#333;
    border:none !important;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.close_message{
    width:19px;
    height:19px;
    cursor: pointer;
    position:absolute;
    right:10px;
    top: 4px;
    background-image:url('../image/close_message.png');
}
.message_area ul{
    list-style: none;
    padding:0px;
    margin:0px;
    min-height: 100px;
    max-height:300px;
    overflow-y: auto;
    overflow-x: hidden;
    /*background-color: #FFF;*/
    padding-bottom: 10px;
}
.message_area li:hover{
    background-color:#DDD;
}
.message_area li{
    line-height: 32px;
    padding-left:20px;
    font-size: 13px;
    color:#333;
    cursor: default;
    margin-top:10px;
    clear: both;
    position:relative;
}

.list_friend {
    width:200px !important;
}

.list_friend li{
    float: none !important;
}

.my_message{
    color:rgba(1,123,160,0.8) !important;
    float: right;
    background-color:#EEE;
    padding:5px 15px;
    max-width: 180px;
    margin-right:20px;
    line-height:20px !important;
}
.my_message::after{
    content:"";
    position: absolute;
    right: -12px;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 12px solid #EEE;
    border-bottom: 8px solid transparent;
}
.my_message:hover::after{
    border-left-color: #DDD;
}
.friend_message{
    color:rgba(199,53,56,0.8) !important;
    float: left;
    background-color:#EEE;
    padding:5px 15px;
    max-width: 180px;
    margin-left: 20px;
    line-height:20px !important;
}
.friend_message::after{
    content:"";
    position: absolute;
    right: 100%;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 12px solid #EEE;
    border-bottom: 8px solid transparent;
}
.friend_message:hover::after{
    border-right-color: #DDD;
}
.my_message_more{
    color:rgba(1, 123, 160, 0.8) !important;
    background-color:#FFF !important;
    width: 100%;
    border-bottom: 2px dashed #CCC; 
    cursor: pointer;
}
